<!---
	Title:		Elders Program Database Reports
	Author:		Bruce Frick
	Purpose:	.
--->

<cfset BASE = CreateObject("component", "cfc.base") />

<cfoutput>
	<!---HTML header, css links, js links, and page title--->
    #BASE.htmlHeader("/jquery/ui-1.8.5/jquery-ui.min.js,js/reports.js", 
        "/jquery/ui-1.8.5/themes/base/jquery-ui.css,css/style.css", "Elders Program - Reports")#
    <!---HTML header, css links, js links, and page title--->
     
    <cfset providers = CreateObject("component", "cfc.queries").funcQryAllProviders() />
    
    <CFFORM NAME="form_reports" target="_blank">
        <div class="reports" style="padding-bottom:10px">
        
            <h3>Master Activity</h3>
            <div id="master_activity"style="padding-bottom:10px">    	
                <cfinput type="hidden" name="api" value="showreport.cfm?api=master_activity" />
                <font class="fieldlabel">From: </font>
                <cfinput type="text" name="DateFromMasterActivity" class="DateFrom" 
                    value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">
                &nbsp;&nbsp;        
                <font class="fieldlabel">To: </font>
                <cfinput type="text" name="DateToMasterActivity" class='DateTo' value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">
                <cfinput name="MasterActivity" value="View" type="button" >
                <cfinput name="MasterActivityPDF" value="View PDF" type="button">
                <hr />
            </div>
            
            
            <h3>Undup Services</h3>
                <div id="undup_services" style="padding-bottom:10px">    	
                <cfinput type="hidden" name="api" value="showreport.cfm?api=undup_services" />        
                <font class="fieldlabel">From: </font>
                <cfinput type="text" name="DateFromUnDupSerivces1" class="DateFrom" 
                    value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">
                &nbsp;&nbsp;        
                <font class="fieldlabel">To: </font>
                <cfinput type="text" name="DateToUnDupSerivces1" class='DateTo' value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">
                <cfinput name="UnDupSerivces" value="View" type="button" >
                <cfinput name="UnDupSerivcesPDF" value="View PDF" type="button">
                <hr />
            </div>
            
            <h3>Billable Services</h3>
            <div id="billable_services" style="padding-bottom:10px">    	
                <cfinput type="hidden" name="api" value="showreport.cfm?api=billable_services" /> 
                <font class="fieldlabel">Billable Service: </font>     
                <cfselect name="BillableServicesType" class="BillingType">
                	<option value="Services">All Services</option>
                    <option value="Chore">Chore</option>
                    <option value="Meals">Meals</option>
                    <option value="Transportation">Transportation</option>
                    <option value="TTCM">TTCM</option>
                </cfselect>
                <br />  
                <font class="fieldlabel">From: </font>
                <cfinput type="text" name="DateFromBillableServices" class="DateFrom" 
                    value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">
                &nbsp;&nbsp;        
                <font class="fieldlabel">To: </font>
                <cfinput type="text" name="DateToBillableServices" class='DateTo' value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">
                <cfinput name="BillableServices" value="View" type="button" >
                <cfinput name="BillableServicesXLS" value="View XLS" type="button">
                <cfinput name="BillableServicesPDF" value="View PDF" type="button">
                <hr />
            </div>
           
            
            <h3>Service Plan Targets</h3>
            <div id="service_plan_target" style="padding-bottom:10px">    	
                <cfinput type="hidden" name="api" value="showreport.cfm?api=service_plan_target" />   
                <font class="fieldlabel">Providers: </font>     
                <cfset QUERIES.providers = CreateObject("component", "cfc.utilities").funcGetDLProviders() />
                <cfselect name="ServicePlanTargetProvider" class="Provider">
                    <option value="-1">All</option>
                    <cfloop from="1" to="#ArrayLen(QUERIES.providers)#" index="i">
                        <option value="#QUERIES.providers[i].RosettaID#" > 
                        #QUERIES.providers[i].FirstName# #QUERIES.providers[i].LastName#</option>
                    </cfloop>
                </cfselect>  
                <br />
                <font class="fieldlabel">From: </font>
                <cfinput type="text" name="DateFromServicePlanTarget" class="DateFrom" 
                    value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">&nbsp;&nbsp;        
                <font class="fieldlabel">To: </font>
                <cfinput type="text" name="DateToServicePlanTarget" class='DateTo' value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">
                <cfinput name="ServicePlanTarget" value="View" type="button" >
                <cfinput name="ServicePlanTargetXLS" value="View XLS" type="button">
                <hr />
            </div>

           
            
            <h3>Billing Report</h3>
            <div id="billing_report" style="padding-bottom:10px">    	
                <cfinput type="hidden" name="api" value="showreport.cfm?api=billing_report" />   
                <font class="fieldlabel">From: </font>
                <cfinput type="text" name="BillingReportFrom" class="DateFrom" 
                    value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">&nbsp;&nbsp;        
                <font class="fieldlabel">To: </font>
                <cfinput type="text" name="BillingReportTo" class='DateTo' value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">
                <cfinput name="BillingReport" value="View" type="button" >
                <cfinput name="BillingReportXLS" value="View XLS" type="button">
                <cfinput name="BillingReportPDF" value="View PDF" type="button">        
                <hr />
            </div>
            
            
            
            <h3>Services Report</h3>
            <div id="services_report" style="padding-bottom:10px">    	
                <cfinput type="hidden" name="api" value="showreport.cfm?api=services_report" />   
                <font class="fieldlabel">From: </font>
                <cfinput type="text" name="ServicesReportFrom" class="DateFrom" 
                    value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">&nbsp;&nbsp;        
                <font class="fieldlabel">To: </font>
                <cfinput type="text" name="ServicesReportTo" class='DateTo' value="#dateformat(now(), 'MM/DD/YYYY')#" size="8">
                <cfinput name="ServicesReport" value="View" type="button" >
                <cfinput name="ServicesReportXLS" value="View XLS" type="button">
                <cfinput name="ServicesReportPDF" value="View PDF" type="button">        
                <hr />
            </div>
            
            
            
            <h3>No Priority List</h3>
            <div id="no_priority_list" style="padding-bottom:10px">     
                <cfinput type="hidden" name="api" value="showreport.cfm?api=no_priority_list" />   
                <cfinput name="NoPriorityList" value="View" type="button" >
                <cfinput name="NoPriorityListXLS" value="View XLS" type="button">
                <cfinput name="NoPriorityListPDF" value="View PDF" type="button">        
                <hr />
            </div>
            
            <h3>No Provider List</h3>
            <div id="no_provider_list" style="padding-bottom:10px">     
                <cfinput type="hidden" name="api" value="showreport.cfm?api=no_provider_list" />   
                <cfinput name="NoProviderList" value="View" type="button" >
                <cfinput name="NoProviderListXLS" value="View XLS" type="button">
                <cfinput name="NoProviderListPDF" value="View PDF" type="button">        
                <hr />
            </div>
            
            
            <h3>Mailing List</h3>
            <div id="mailing_list" style="padding-bottom:10px">    	
                <cfinput type="hidden" name="api" value="showreport.cfm?api=mailing_list" />   
                <cfinput name="MailingList" value="View" type="button" >
                <cfinput name="MailingListXLS" value="View XLS" type="button">
                <cfinput name="MailingListPDF" value="View PDF" type="button">        
                <hr />
            </div>
            
            
            
            
            <h3>Active Client List</h3>
            <div id="active_client_list" style="padding-bottom:10px">    	
                <cfinput type="hidden" name="api" value="showreport.cfm?api=active_client_list" />   
                <cfinput name="ActiveClientList" value="View" type="button" >
                <cfinput name="ActiveClientListXLS" value="View XLS" type="button">
                <cfinput name="ActiveClientListPDF" value="View PDF" type="button">        
                <hr />
            </div>
            
            
            
            
            <h3>Ethnicity Distribution </h3>
            <div id="ethnicity_report" style="padding-bottom:10px">
                <cfinput type="hidden" name="api" value="showreport.cfm?api=ethnicity_report" />
                <cfinput name="Ethnicity" value="View" type="button">
                <cfinput name="EthnicityPDF" value="View PDF" type="button">
                <hr />
            </div>
            
            
            <h3>Regional Corp Distribution </h3>
            <div id="regionalcorp_report" style="padding-bottom:10px">
                <cfinput type="hidden" name="api" value="showreport.cfm?api=regionalcorp_report" />
                <cfinput name="RegionalCorp" value="View" type="button">
                <cfinput name="RegionalCorpPDF" value="View PDF" type="button">
                <hr />
            </div>
            
            
            <h3>Provider Distribution </h3>
            <div id="provider_distribution" style="padding-bottom:10px">
                <cfinput type="hidden" name="api" value="showreport.cfm?api=provider_distribution" />
                <cfinput name="ProviderDistribution" value="View" type="button">
                <cfinput name="ProviderDistributionPDF" value="View PDF" type="button">
            </div>
        
            
            
        </div>
    
    
    </cfform>
    
    <!---HTML footer, closes html and body tags.  Any footer info goes here--->
    #BASE.htmlFooter()#
    <!---HTML footer, closes html and body tags.  Any footer info goes here--->
</cfoutput>